vertical bar was a bad choice for an option separator for an1; DeLorme uses them...
authorparkrrrr <parkrrrr@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Wed, 31 Aug 2005 13:55:54 +0000 (13:55 +0000)
committerparkrrrr <parkrrrr@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Wed, 31 Aug 2005 13:55:54 +0000 (13:55 +0000)
gpsbabel/README
gpsbabel/an1.c

index ab81b3bfd36cad0ea1d750710abc209b2faea88e..c6c57083fa1bcfec107aa7031eeee47dab1604e0 100644 (file)
@@ -927,7 +927,7 @@ THE FORMATS
         types are "limited", "toll", "us", "state", "major", and "local".
         This option has a special format that is best demonstrated by example:
 
-        "type=limited|I-599|major|Beecher St." 
+        "type=limited!I-599!major!Beecher St." 
 
         This option will cause any road named "I-599" to become a limited- 
         access highway and any road named "Beecher St." to become a major
index 0c3e3ff0addb8d43f959bb83e49ce8523e7b5961..18b185e42997537dde4e18e892d38e7cd7944b33 100644 (file)
@@ -911,10 +911,10 @@ Init_Road_Changes( void )
        if ( !road_changes || !road_changes[0] ) {
                return;
        }
-       bar = strchr( road_changes, '|' );
+       bar = strchr( road_changes, '!' );
        while ( bar ) {
                count++;
-               bar = strchr( bar+1, '|' );
+               bar = strchr( bar+1, '!' );
        }
        if ( !(count&1)) {
                fatal( MYNAME ": invalid format for road changes\n" );
@@ -931,11 +931,11 @@ Init_Road_Changes( void )
         while ( count ) {
                count--;
                name = bar;
-               bar = strchr( name, '|' );
+               bar = strchr( name, '!' );
                *bar = '\0';
                bar++;
                strType = bar;
-               bar = strchr( strType, '|' );
+               bar = strchr( strType, '!' );
                if ( bar ) {
                        *bar = '\0';
                        bar++;